WCPay\Payment_Information S

Total Complexity 45
Dependencies 9
Dependents 3
Total lines 417
Lines of code 130
Logical lines of code 63
Comment lines 213
Methods 24
Properties 12

Methods 24

Method Rating Maintainability Complexity Lines of code
get_token_from_request()
S
58 6 15
__construct()
S
56 4 17
get_cvc_confirmation_from_request()
S
60 4 14
get_payment_method_from_request()
S
64 4 9
from_payment_request()
S
61 3 11
get_fingerprint_from_request()
S
68 3 7
get_payment_method()
S
72 2 6
should_save_payment_method_to_platform()
S
79 2 3
should_save_payment_method_to_store()
S
79 2 3
is_using_saved_payment_method()
S
80 1 3
must_save_payment_method_to_platform()
S
81 1 3
get_fingerprint()
S
82 1 3
get_cvc_confirmation()
S
82 1 3
is_changing_payment_method_for_subscription()
S
82 1 3
set_is_changing_payment_method_for_subscription()
S
81 1 3
must_save_payment_method_to_store()
S
81 1 3
is_using_manual_capture()
S
80 1 3
get_payment_type()
S
82 1 3
set_payment_type()
S
81 1 3
is_merchant_initiated()
S
80 1 3
get_order()
S
82 1 3
get_payment_token()
S
82 1 3
set_token()
S
81 1 3
get_payment_method_stripe_id()
S
82 1 3